package com.enetiy;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users implements java.io.Serializable {

	// Fields

	private Integer id;
	private String pwd;
	private Date firstlogin;
	private String nickname;
	private String headImg;
	private String soleCode;
	private Integer sex;
	private String selfdom;
	private Integer niuNum;
	private Set loginses = new HashSet(0);
	private Set userinfos = new HashSet(0);
	private Set mapspoors = new HashSet(0);
	private Set userimgs = new HashSet(0);
	private Set bindings = new HashSet(0);
	private Set useraccounts = new HashSet(0);
	private Set keeptimes = new HashSet(0);
	private Set comboinfos = new HashSet(0);
	private Set userlogs = new HashSet(0);
	private Set balances = new HashSet(0);
	private Set vipmembers = new HashSet(0);
	private Set ticketusers = new HashSet(0);

	// Constructors

	/** default constructor */
	public Users() {
	}
	public Users(String pwd,Date firstlogin, String nickname,
		String headImg, Integer sex, String selfdom,Integer niuNum){
		this.pwd = pwd;
		this.firstlogin = firstlogin;
		this.nickname = nickname;
		this.headImg = headImg;
		this.sex = sex;
		this.selfdom = selfdom;
		this.niuNum = niuNum;
	}
	/** full constructor */
	public Users(String pwd, Date firstlogin, String nickname,
			String headImg, String soleCode, Integer sex, String selfdom,
			Integer niuNum, Set loginses, Set userinfos, Set mapspoors,
			Set userimgs, Set bindings, Set useraccounts, Set keeptimes,
			Set comboinfos, Set userlogs, Set balances, Set vipmembers,
			Set comborecords, Set ticketusers) {
		this.pwd = pwd;
		this.firstlogin = firstlogin;
		this.nickname = nickname;
		this.headImg = headImg;
		this.soleCode = soleCode;
		this.sex = sex;
		this.selfdom = selfdom;
		this.niuNum = niuNum;
		this.loginses = loginses;
		this.userinfos = userinfos;
		this.mapspoors = mapspoors;
		this.userimgs = userimgs;
		this.bindings = bindings;
		this.useraccounts = useraccounts;
		this.keeptimes = keeptimes;
		this.comboinfos = comboinfos;
		this.userlogs = userlogs;
		this.balances = balances;
		this.vipmembers = vipmembers;
		this.ticketusers = ticketusers;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	

	public Date getFirstlogin() {
		return firstlogin;
	}
	public void setFirstlogin(Date firstlogin) {
		this.firstlogin = firstlogin;
	}
	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getHeadImg() {
		return this.headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}

	public String getSoleCode() {
		return this.soleCode;
	}

	public void setSoleCode(String soleCode) {
		this.soleCode = soleCode;
	}

	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getSelfdom() {
		return this.selfdom;
	}

	public void setSelfdom(String selfdom) {
		this.selfdom = selfdom;
	}

	public Integer getNiuNum() {
		return this.niuNum;
	}

	public void setNiuNum(Integer niuNum) {
		this.niuNum = niuNum;
	}

	public Set getLoginses() {
		return this.loginses;
	}

	public void setLoginses(Set loginses) {
		this.loginses = loginses;
	}

	public Set getUserinfos() {
		return this.userinfos;
	}

	public void setUserinfos(Set userinfos) {
		this.userinfos = userinfos;
	}

	public Set getMapspoors() {
		return this.mapspoors;
	}

	public void setMapspoors(Set mapspoors) {
		this.mapspoors = mapspoors;
	}

	public Set getUserimgs() {
		return this.userimgs;
	}

	public void setUserimgs(Set userimgs) {
		this.userimgs = userimgs;
	}

	public Set getBindings() {
		return this.bindings;
	}

	public void setBindings(Set bindings) {
		this.bindings = bindings;
	}

	public Set getUseraccounts() {
		return this.useraccounts;
	}

	public void setUseraccounts(Set useraccounts) {
		this.useraccounts = useraccounts;
	}

	public Set getKeeptimes() {
		return this.keeptimes;
	}

	public void setKeeptimes(Set keeptimes) {
		this.keeptimes = keeptimes;
	}

	public Set getComboinfos() {
		return this.comboinfos;
	}

	public void setComboinfos(Set comboinfos) {
		this.comboinfos = comboinfos;
	}

	public Set getUserlogs() {
		return this.userlogs;
	}

	public void setUserlogs(Set userlogs) {
		this.userlogs = userlogs;
	}

	public Set getBalances() {
		return this.balances;
	}

	public void setBalances(Set balances) {
		this.balances = balances;
	}

	public Set getVipmembers() {
		return this.vipmembers;
	}

	public void setVipmembers(Set vipmembers) {
		this.vipmembers = vipmembers;
	}


	public Set getTicketusers() {
		return this.ticketusers;
	}

	public void setTicketusers(Set ticketusers) {
		this.ticketusers = ticketusers;
	}

}